package cn.wen.eeayjoke.net;

import cn.wen.eeayjoke.entity.bean.base.ResponseBean;
import cn.wen.eeayjoke.entity.bean.login.LoginBean;
import io.reactivex.Observable;
import okhttp3.RequestBody;
import retrofit2.http.Body;
import retrofit2.http.POST;

/**
 * 后台统一接口API
 */

public interface ServerApi {
    // 联系人编辑
    @POST(URLS.LOGIN)
    Observable<ResponseBean<LoginBean>> login(@Body RequestBody requestBody);
}
